FROM java:8

VOLUME /tmp

RUN mkdir -p /app/config

ADD  *.jar /app/app.jar

RUN bash -c "touch /app/app.jar"

WORKDIR /app

EXPOSE 8761

CMD  java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom  -jar  /app/app.jar
